package com.cybertron.ironhide.search.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cybertron.ironhide.search.domain.Member;
import com.cybertron.ironhide.search.persistence.MemberMapper;
import com.cybertron.ironhide.search.service.MemberService;

@Service
public class MemberServiceImpl implements MemberService {

	@Autowired(required = false)
	private MemberMapper memberMapper;

	@Override
	public void updateByPrimaryKeySelective(Member record) {
		memberMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public Member selectByEmail(String email) {
		return memberMapper.selectByEmail(email);
	}

	@Override
	public void insertSelective(Member record) {
		memberMapper.insertSelective(record);
	}

}
